using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using CIM.BLL;
using CIM.BLL.Report;
using CIM.Model;

namespace CIM.report
{
    public partial class bankLoanRemain : Form
    {
        public bankLoanRemain()
        {
            InitializeComponent();
            dataGridView1.AutoGenerateColumns = false;
        }

        private void bankLoanRemain_Load(object sender, EventArgs e)
        {
            BankState bll = new BankState(DB.Connstr, DateTime.Now);
            dataGridView1.DataSource=bll.GetReport();
        }
    }
}